[ <--- prev -- ]  [ HOME ]  [ -- next ---> ]

[ full index ]


BEAMAXES

defines the axes used for a beam reference frame different from the geometry frame

See also BEAM, BEAMPOS, POLARIZAti, SOURCE, SPECSOUR

     WHAT(1) = cosine of the angle between the x-axis of the beam reference
               frame and the x-axis of the geometry frame
               Default: no default

     WHAT(2) = cosine of the angle between the x-axis of the beam reference
               frame and the y-axis of the geometry frame
               Default: no default

     WHAT(3) = cosine of the angle between the x-axis of the beam reference
               frame and the z-axis of the geometry frame
               Default: no default

     WHAT(4) = cosine of the angle between the z-axis of the beam reference
               frame and the x-axis of the geometry frame
               Default: no default

     WHAT(5) = cosine of the angle between the z-axis of the beam reference
               frame and the y-axis of the geometry frame
               Default: no default

     WHAT(6) = cosine of the angle between the z-axis of the beam reference
               frame and the z-axis of the geometry frame
               Default: no default

     SDUM    : not used

     Default (option BEAMAXES not requested): the beam frame coincides with the
             geometry frame

Notes:

Example:

 *  The next option cards describe a 10 GeV proton beam with a divergence of
 *  50 mrad and a gaussian profile in the "beam x"-direction and in the
 *  "beam y"-direction described by standard deviations sigma_x = 1. cm
 *  (FWHM = 2.36 cm) and sigma_y = 0.5 cm (FWHM = 1.18 cm). The beam starts
 *  from point (0,0,0) and is directed in a direction perpendicular to the
 *  "geometry x" axis, at 45 degrees with respect to both "geometry y" and
 *  "geometry z". The "beam x" axis has cosines 1,0,0 and the "beam z"
 *  axis has cosines 0, cos(pi/4), cos(pi/4)
 *...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
 BEAM           -10.0       0.0      50.0     -2.36     -1.18      1.0 PROTON
 BEAMPOS          0.0       0.0       0.0       0.0 0.7071068       0.0
 BEAMAXES         1.0       0.0       0.0       0.0 0.7071068 0.7071068